package com.falcon.service;

import com.falcon.domain.dos.MenuDO;
import com.falcon.domain.req.MenuQuery;
import com.falcon.domain.req.MenuRequest;
import com.falcon.mvc.domain.BasePager;

import java.util.List;

public interface IMenuService {

    Long save(MenuRequest request);

    Boolean update(Long id, MenuRequest request);

    Boolean deleteById(Long id);

    MenuDO queryById(Long id);

    List<MenuDO> queryList(MenuQuery request);

    BasePager<MenuDO> queryPager(MenuQuery request);

    int batchDelete(List<Long> ids);

    List<MenuDO> queryTree(MenuQuery request);
}
